﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace CMS2.Models
{
    public class User
    {
        public int Id
        { get; set; }
        
        [Required]
        public String UserName
        { get; set; }
        
        [Required]
        public String Password
        { get; set; }
        
        [Required]
        
        public String Type
        { get; set; }

        public Profile profile;
        //public IEnumerable<Profile> profiles;

    }
}